package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品组基础对象 goods_group
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public class GoodsGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 商品类型 1-产品 2-护理 3-券 4-疗程 */
    @Excel(name = "商品类型 1-产品 2-护理 3-券 4-疗程")
    private Integer goodsType;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 列表图 */
    @Excel(name = "列表图")
    private String listImg;

    /** 商品banner */
    @Excel(name = "商品banner")
    private String banner;

    /** 相册 */
    @Excel(name = "相册")
    private String detailImg;

    /** 分享海报图 */
    @Excel(name = "分享海报图")
    private String sharePoster;

    /** 商品属性(json) */
    @Excel(name = "商品属性(json)")
    private String goodsAttr;

    /** 商品标签英文空格拆分 */
    @Excel(name = "商品标签英文空格拆分")
    private String tags;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 分类,多个分类逗号隔开 */
    @Excel(name = "分类,多个分类逗号隔开")
    private String categoryId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    /** 商品活动图标 */
    @Excel(name = "商品活动图标")
    private String discountInfoIcon;

    /** 是否用于推荐:0否,1是 */
    @Excel(name = "是否用于推荐:0否,1是")
    private Long isRecommend;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 板块id,多个逗号隔开 */
    @Excel(name = "板块id,多个逗号隔开")
    private String plateId;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long number;

    /** 可售数量 */
    @Excel(name = "可售数量")
    private Long saleNumber;

    /** 显示数量 */
    @Excel(name = "显示数量")
    private Long showNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodsType(Integer goodsType) 
    {
        this.goodsType = goodsType;
    }

    public Integer getGoodsType() 
    {
        return goodsType;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setListImg(String listImg) 
    {
        this.listImg = listImg;
    }

    public String getListImg() 
    {
        return listImg;
    }
    public void setBanner(String banner) 
    {
        this.banner = banner;
    }

    public String getBanner() 
    {
        return banner;
    }
    public void setDetailImg(String detailImg) 
    {
        this.detailImg = detailImg;
    }

    public String getDetailImg() 
    {
        return detailImg;
    }
    public void setSharePoster(String sharePoster) 
    {
        this.sharePoster = sharePoster;
    }

    public String getSharePoster() 
    {
        return sharePoster;
    }
    public void setGoodsAttr(String goodsAttr) 
    {
        this.goodsAttr = goodsAttr;
    }

    public String getGoodsAttr() 
    {
        return goodsAttr;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId() 
    {
        return categoryId;
    }
    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }
    public void setDiscountInfoIcon(String discountInfoIcon) 
    {
        this.discountInfoIcon = discountInfoIcon;
    }

    public String getDiscountInfoIcon() 
    {
        return discountInfoIcon;
    }
    public void setIsRecommend(Long isRecommend) 
    {
        this.isRecommend = isRecommend;
    }

    public Long getIsRecommend() 
    {
        return isRecommend;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setPlateId(String plateId) 
    {
        this.plateId = plateId;
    }

    public String getPlateId() 
    {
        return plateId;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setSaleNumber(Long saleNumber) 
    {
        this.saleNumber = saleNumber;
    }

    public Long getSaleNumber() 
    {
        return saleNumber;
    }
    public void setShowNumber(Long showNumber) 
    {
        this.showNumber = showNumber;
    }

    public Long getShowNumber() 
    {
        return showNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsType", getGoodsType())
            .append("title", getTitle())
            .append("listImg", getListImg())
            .append("banner", getBanner())
            .append("detailImg", getDetailImg())
            .append("sharePoster", getSharePoster())
            .append("goodsAttr", getGoodsAttr())
            .append("tags", getTags())
            .append("content", getContent())
            .append("description", getDescription())
            .append("categoryId", getCategoryId())
            .append("sortOrder", getSortOrder())
            .append("discountInfoIcon", getDiscountInfoIcon())
            .append("isRecommend", getIsRecommend())
            .append("supplierId", getSupplierId())
            .append("plateId", getPlateId())
            .append("number", getNumber())
            .append("saleNumber", getSaleNumber())
            .append("showNumber", getShowNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
